/*
 * @Copyright: Citylife 2021
 * @Copyright: EasyCompany 2021
 * @Author: asterisk
 * @Date: 2021-03-18 11:46:45
 * @Description: 
 */
import '../../easy_log.dart';
import 'dao.dart';

LogDao createDao() {
  return LogDaoWeb.instance;
}

class LogDaoWeb implements LogDao {
  static const String TAG = 'LogDaoWeb';
  static LogDaoWeb instance = LogDaoWeb();
  @override
  Future init() {
    // TODO: implement addOne
    throw UnimplementedError();
  }

  @override
  Future unInit() {
    // TODO: implement addOne
    throw UnimplementedError();
  }

  @override
  Future open(String root, String appKey, String uid) {
    // TODO: implement addOne
    throw UnimplementedError();
  }

  @override
  Future close() {
    // TODO: implement addOne
    throw UnimplementedError();
  }

  @override
  Future clearOldMessage({int timestamp}) {
    // TODO: implement addOne
    throw UnimplementedError();
  }

  @override
  Future addOne(EasyLogMessage message) {
    // TODO: implement addOne
    throw UnimplementedError();
  }

  @override
  Future<List<EasyLogMessage>> getLastOneDay() {
    // TODO: implement getLastOneDay
    throw UnimplementedError();
  }

  @override
  Future<List<EasyLogMessage>> getOneDay() {
    // TODO: implement getOneDay
    throw UnimplementedError();
  }

  @override
  Future addMore(List<EasyLogMessage> messages) {
    // TODO: implement addMore
    throw UnimplementedError();
  }
}
